package com.mofofa.maozy.components.dialog


data class PermissionItem(
    /** 权限类型:与系统权限一致，如 android.permission.READ_PHONE_STATE */
    var type: Int = TYPE_PHONE_STATE,
    /** 操作结果：NONE未操作，DENY拒绝，AGREE同意 */
    var result: Int = RESULT_NONE,
    /** 是否已经阅读完说明*/
    var hadReadContent: Boolean = false
) {
    companion object {
        const val TYPE_SMS: Int = 345
        const val TYPE_PHONE_STATE: Int = 346
        const val TYPE_APP: Int = 347
        const val TYPE_HOME_SMS: Int = 348

        const val RESULT_NONE = -1
        const val RESULT_DENY = 0
        const val RESULT_AGREE = 1
    }
}
